/**
 * 
 */
package com.zxc.serialization.protobuf;

import java.io.IOException;

/**
 * @author admin
 *
 */
public class GeneralClass {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		String protoFile = "innerdata-entity.proto";//  
        String strCmd = "D:/protoc-3.4.0-win32/bin/protoc.exe "
        		+ "-I=D:/工作/git/Other/LearnDemo/LearningDemo/src/main/java/com/zxc/serialization/protobuf "
        		+ "--java_out=D:/工作/git/Other/LearnDemo/LearningDemo/src/main/java "
        		+ "D:/工作/git/Other/LearnDemo/LearningDemo/src/main/java/com/zxc/serialization/protobuf/"+ protoFile;  
        try {
            Runtime.getRuntime().exec(strCmd);
        } catch (IOException e) {
            e.printStackTrace();
        }//通过执行cmd命令调用protoc.exe程序  
	}

}
